-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: SARIF Output Support #192
Conversation
The last few commits fix and improve the output's SARIF spec conformance. Here are some screenshots of how the results look in the GitHub Security Center: I'm also working on an update to the A simple demonstration is available at https://github.com/XpiritUSA/test-legitify. |
@chtzvt thanks a lot for this PR! your effort is really appreciated! It seems that the tests are failing. |
@gal-legit Thanks for your feedback! I've implemented the changes you've requested, as well as working tests that validate Legitify's SARIF output against the SARIF specification JSON schema. |
@chtzvt |
Fantastic! Glad to see it ship. I started work on the SARIF action in the sarif-action-support branch. If that looks like the direction you'd want to go with, I can open another PR. |
@chtzvt We don't want the SARIF output to replace the existing output, but rather to come on top of it. Anyway, I'd love to hear your thoughts on this. |
What's being changed?
This pull request adds support for SARIF output to Legitify.
Is this PR related to an existing issue?
This PR closes #11.
Check off the following:
Additional Notes
An example of the SARIF output produced by this feature can be seen here. Microsoft provides this nifty tool if you'd like to parse/visualize the results.
This PR introduces a dependency on
github.com/owenrumney/go-sarif/v2/sarif
.With ❤️ from @XpiritBV.